<!DOCTYPE html>
<html lang="en">
    <head>
        <title>User Login</title>
        <meta charset="UTF-8"/>
    </head>
    <body>
        <div>

                <?php $form = $this->beginWidget('CActiveForm') ?>
                 <div><span>用户名:</span><?php echo $form->textField($LoginForm,'username',array('id'=>'username'));?></div>
                 <div><span>密码:</span><?php echo $form->passwordField($LoginForm,'password',array('id'=>'password'));?></div>
            <div><span>验证码:</span><?php echo $form->textField($LoginForm,'capture',array('id'=>'capture'));?></div>
                 <div><input type="submit" name="loginSub"/></div>
                <?php $this->endWidget() ?>

        </div>

    </body>
</html>